import { createStore } from "vuex";

//一定要有类型
interface States {
  count: number;
}

// 创建一个新的 store 实例
const store = createStore<States>({
  state() {
    return {
      count: 0,
    };
  },
  mutations: {},
  actions: {},
  getters: {},
});

export default store;
